package com._520it.crm.mapper;

import com._520it.crm.domain.Check;
import com._520it.crm.query.CheckQueryObject;

import java.util.List;
import java.util.Map;

public interface CheckMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Check record);

    int insertOrderBill(Check record);

    Check selectByPrimaryKey(Long id);

    List<Check> selectAll();

    int updateByPrimaryKey(Check record);

    Long queryPageCount(CheckQueryObject qo);

    List<Map> queryPageData(CheckQueryObject qo);

    void slotCardUpdate(Check check);

    void cheque(Check check);

    void issueSendBack(Long id);
}